package com.example.showdemo.controller;

import com.example.showdemo.IView;
import com.example.showdemo.model.IModel;

public class HandleController implements IController{
    private IModel model = null;

    @Override
    public void onDataChanged(String data) {
        model.handleData(data);
    }

    @Override
    public void clearData() {
        model.clearData();
    }

    public void setView(IView view) {

    }
    @Override
    public void setModel(IModel model) {
        this.model = model;
    }
}